package com.factory.generic;

public class TestFactory {

    public static void main(String[] args) {

        AbstractFactory factory = new ConcreteFactory();
        ConcreteProduct1 product1 = factory.createProduct(ConcreteProduct1.class);
        product1.handle();
        product1.defaultCreate();


    }
}
